creating bins or ranges from factor data in r

join shbcf.ru